<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // let f1 = (a,b)=>{
        //     console.log(this,a,b);
        // }
        // function f1(a,b){
        //     console.log(this,a,b);
        // }
        // f1();
        // f1.call({},1,2);
        // f1.apply({},[1,2]);
        // console.log();
        // f1.bind({})(3,4)

        let o1 = Object.create({});
        console.log(o1);

        // 
        // let f2 = function(){
        //     console.log("f2");
        // }
        // let f1 = function(){
        //     console.log("f1");
        //     f2();
        // }
        let food = "鸡翅";
        function eat(){
            console.log(food);
        }
        (function(){
            let food = "包子";
            eat();
        }());
        
    </script>
</body>
</html>